* .gdbinit (xprocess): New command.
authorJim Blandy <jimb@redhat.com>
Tue, 23 Feb 1993 14:14:19 +0000 (14:14 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 23 Feb 1993 14:14:19 +0000 (14:14 +0000)
src/.gdbinit

index 61d56af59f61fbb3701a0abaf2bdf4f48f060ad3..7045c032e01793d06c30311cabe3dca1f60d53ff 100644 (file)
@@ -137,6 +137,15 @@ document xsubr
 Print the address of the subr which the Lisp_Object $ points to.
 end
 
+define xprocess
+print (struct Lisp_Process *) (($ & 0x00ffffff) | $data_seg_bits)
+output *$
+echo \n
+end
+document xprocess
+Print the address of the struct Lisp_process which the Lisp_Object $ points to.
+end
+
 define xscrollbar
 print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits)
 output *$